package com.yungu.swift.base.model.config;

import java.io.Serializable;

/**
 * 服务端配置
 *
 * @author : cuixiuyin
 * @date : 2019/9/11
 */
public class ServerConfig implements Serializable {
    /**
     * 财务
     */
    private PaymentBean payment;
    /**
     * 安全
     */
    private SafetyBean safety;
    /**
     * 系统配置
     */
    private SystemBean system;

    public PaymentBean getPayment() {
        return payment;
    }

    public void setPayment(PaymentBean payment) {
        this.payment = payment;
    }

    public SafetyBean getSafety() {
        return safety;
    }

    public void setSafety(SafetyBean safety) {
        this.safety = safety;
    }

    public SystemBean getSystem() {
        return system;
    }

    public void setSystem(SystemBean system) {
        this.system = system;
    }

    public static class PaymentBean {
        /**
         * balancePaymentPwd : 123456 余额支付密码
         */

        private String balancePaymentPwd;

        public String getBalancePaymentPwd() {
            return balancePaymentPwd;
        }

        public void setBalancePaymentPwd(String balancePaymentPwd) {
            this.balancePaymentPwd = balancePaymentPwd;
        }
    }

    public static class SafetyBean {
        /**
         * loginExp : 11
         * encrypt : false
         * license : true
         * userCheckMobile : true
         */

        private int loginExp;
        private boolean encrypt;
        private boolean license;
        private boolean userCheckMobile;

        public int getLoginExp() {
            return loginExp;
        }

        public void setLoginExp(int loginExp) {
            this.loginExp = loginExp;
        }

        public boolean getEncrypt() {
            return encrypt;
        }

        public void setEncrypt(boolean encrypt) {
            this.encrypt = encrypt;
        }

        public boolean getLicense() {
            return license;
        }

        public void setLicense(boolean license) {
            this.license = license;
        }

        public boolean getUserCheckMobile() {
            return userCheckMobile;
        }

        public void setUserCheckMobile(boolean userCheckMobile) {
            this.userCheckMobile = userCheckMobile;
        }
    }

    public static class SystemBean {
        /**
         * thawDay : 1
         * checkArea : false
         * checkSameCity : true
         * maxDistance : 99999
         * minDistance : 1
         * turnOnCorrection : true
         * alarmTel : 114
         * joinServiceTel : 14211111111
         * sendMsgAlarm : false
         * orderFailMsg : 您的{0}元优惠券入账啦，错过了您我们很遗憾，希望能再次相遇；感谢使用云谷出行
         * orderHighMsg : 由于您经常使用云谷出行，特为您准备了{0}元优惠礼包，赶紧打开云谷出行，让云谷与您同行，您的支持是我们成长的动力，感谢使用云谷出行
         * sleepPassengerMsg : 您的{0}元优惠券入账啦，赶快打开，我们一起来约会吧~
         * specDailyRental : true
         * specHalfDailyRental : true
         * specMeetAirport : true
         * specSendAirport : true
         */

        private int thawDay;
        private boolean checkArea;
        private boolean checkSameCity;
        private int maxDistance;
        private double minDistance;
        private boolean turnOnCorrection;
        private String alarmTel;
        private String joinServiceTel;
        private boolean sendMsgAlarm;
        private String orderFailMsg;
        private String orderHighMsg;
        private String sleepPassengerMsg;
        private boolean specDailyRental;
        private boolean specHalfDailyRental;
        private boolean specMeetAirport;
        private boolean specSendAirport;
        private boolean chooseArea;

        public int getThawDay() {
            return thawDay;
        }

        public void setThawDay(int thawDay) {
            this.thawDay = thawDay;
        }

        public boolean getCheckArea() {
            return checkArea;
        }

        public void setCheckArea(boolean checkArea) {
            this.checkArea = checkArea;
        }

        public boolean getCheckSameCity() {
            return checkSameCity;
        }

        public void setCheckSameCity(boolean checkSameCity) {
            this.checkSameCity = checkSameCity;
        }

        public int getMaxDistance() {
            return maxDistance;
        }

        public void setMaxDistance(int maxDistance) {
            this.maxDistance = maxDistance;
        }

        public double getMinDistance() {
            return minDistance;
        }

        public void setMinDistance(double minDistance) {
            this.minDistance = minDistance;
        }

        public boolean getTurnOnCorrection() {
            return turnOnCorrection;
        }

        public void setTurnOnCorrection(boolean turnOnCorrection) {
            this.turnOnCorrection = turnOnCorrection;
        }

        public String getAlarmTel() {
            return alarmTel;
        }

        public void setAlarmTel(String alarmTel) {
            this.alarmTel = alarmTel;
        }

        public String getJoinServiceTel() {
            return joinServiceTel;
        }

        public void setJoinServiceTel(String joinServiceTel) {
            this.joinServiceTel = joinServiceTel;
        }

        public boolean getSendMsgAlarm() {
            return sendMsgAlarm;
        }

        public void setSendMsgAlarm(boolean sendMsgAlarm) {
            this.sendMsgAlarm = sendMsgAlarm;
        }

        public String getOrderFailMsg() {
            return orderFailMsg;
        }

        public void setOrderFailMsg(String orderFailMsg) {
            this.orderFailMsg = orderFailMsg;
        }

        public String getOrderHighMsg() {
            return orderHighMsg;
        }

        public void setOrderHighMsg(String orderHighMsg) {
            this.orderHighMsg = orderHighMsg;
        }

        public String getSleepPassengerMsg() {
            return sleepPassengerMsg;
        }

        public void setSleepPassengerMsg(String sleepPassengerMsg) {
            this.sleepPassengerMsg = sleepPassengerMsg;
        }

        public boolean getSpecDailyRental() {
            return specDailyRental;
        }

        public void setSpecDailyRental(boolean specDailyRental) {
            this.specDailyRental = specDailyRental;
        }

        public boolean getSpecHalfDailyRental() {
            return specHalfDailyRental;
        }

        public void setSpecHalfDailyRental(boolean specHalfDailyRental) {
            this.specHalfDailyRental = specHalfDailyRental;
        }

        public boolean getSpecMeetAirport() {
            return specMeetAirport;
        }

        public void setSpecMeetAirport(boolean specMeetAirport) {
            this.specMeetAirport = specMeetAirport;
        }

        public boolean getSpecSendAirport() {
            return specSendAirport;
        }

        public void setSpecSendAirport(boolean specSendAirport) {
            this.specSendAirport = specSendAirport;
        }

        public boolean isChooseArea() {
            return chooseArea;
        }

        public void setChooseArea(boolean chooseArea) {
            this.chooseArea = chooseArea;
        }
    }
}
